package com.jinhua.admin.entity;

import com.jinhua.mybatis.annotation.Column;
import com.jinhua.mybatis.annotation.Table;
import com.jinhua.mybatis.entity.BaseEntity;
import com.jinhua.mybatis.util.AutoGenerateCode;
import lombok.Data;

/**
 * Copyright
 *
 * @Author WuHuang
 * @Date 2022/7/8
 */
@Data
@Table(commit = "房间",prefix = "do")
public class RoomPo extends BaseEntity<RoomPo> {

    private static final long serialVersionUID = 2007385276945836181L;

    @Column(commit = "房间状态 0:正常,1:禁用,2:开始中")
    private Integer state;

    @Column(commit = "房主id")
    private Integer adminUserId;

    @Column(commit = "总局数")
    private Integer totalNumber;



    public static void main(String[] args) {
        AutoGenerateCode.generate(RoomPo.class);
    }

}
